package javabase.biji;

/**
 * @Auther: luzhanshi
 * @Date: 2021/2/2 - 02 - 02 - 8:39 
 * @Description: javabase.biji
 * @version: 1.0
 */
public class _25Math {
    public static void main(String[] args) {
        double random = Math.random();
        double v = random * 100;
        Integer integer = (int) v;
        System.out.println(random);
        System.out.println(v);
        System.out.println("**************************************");

        System.out.println(Math.floor(v));
//
//        Math math = new Math();//Error:(20, 21) java: Math() 在 java.lang.Math 中是 private 访问控制
    }

}
